-- GENERATED SPELL FOR [Legion Fel Cannon] --


function spell0_21233(pUnit, Event) --@Fel Cannon Blast,n/a--
pUnit:FullCastSpellOnTarget(36238,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21233', 2000, 1)
end

function Sorts_21233(pUnit, Event)
local choix_sorts_21233 = math.random(0, 0)
if choix_sorts_21233 == 0 then
pUnit:RegisterEvent('spell0_21233', 1, 1)
end
end

function mob21233_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21233', math.random(1500, 3000), 1)
end

function mob21233_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21233_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21233_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21233, 1, 'mob21233_Action')
RegisterUnitEvent(21233, 2, 'mob21233_Leave')
RegisterUnitEvent(21233, 3, 'mob21233_Kill')
RegisterUnitEvent(21233, 4, 'mob21233_Die')
